Signal detection and tracking apparatus



Jan. 2 1968 D. H. scHAEFER SIGNAL DETECTION AND TRACKING APPARATUS 5 Sheets-Sheet l Filed Sept. 30, 1966 David H. Schaefer BY Q gew ATTORNEYS Jan. 2 1968 D. H. scHAl-:FER

SIGNAL DETECTION AND TRACKING APPARATUS 5 Sheets-Sheet 5 Filed Sept. 30, 1966 mNOmNOmN OmN OmN OmN-Omm OmN OmN O INVENTOR David H. Sch oefer Jan. 2 1968 Filed Sept. 30, 1966 D. H. scHAEFr-:R 3,361,985

SIGNAL DETECTION AND TRACKING APPARATUS 5 Sheets-Sheet 4 David H. Schaefer @Ang BY MF@ ATTORNEY 5 United States Patent Oti ice 3,361,985 Patented Jan. 2, 1968 ABSTRACT OF THE DISCLOSURE Digital approach to detecting an out of frequency condition between an internal signal and an external signal and the generation of digital signals to bring the internal signal into synchronism with the external signal.

The invention described herein was made by an employee of the United States Government and may be manufactured and used by or for the Government for governmental purposes without the payment of any royalties thereon or therefor.

This invention relates to frequency sensing and frequency correction systems and more particularly to a system for sensing signals and their frequency and to a system for synchronizing the signal frequency of a signal generator with the frequency of an external signal.

In many electronic systems it is necessary to sense signals and to synchronize the frequency of an internally generated signal with the frequency of an external signal. For example, in digital decoder systems it is necessary to generate a timing signal that is at the frequency of an incoming data signal. The generated timing signal may be utilized to control the shifting of shift registers, for example. Or, the timing signal can be `used to provide sampl-ing pulses for sampling the incoming data signal. In general, decoders process the data contained in the incoming signal so that it can be read out in an intelligible manner. That is, they process the signal so that the signals data can Ibe understood.

In other receiving systems it is necessary that a signal generator generate a signal at the frequency of an incoming signal so that the receiver can lock onto the ncoming signal. One such system is the well-known phase locked loop receiver. That system requires the internal generation of a synchronizing signal to synchronize the system with the incoming data signal.

The foregoing paragraphs have described two systems wherein a synchronous timing signal is necessary, however, there are numerous other systems requiring synchronous timing signals. Hence, the invention is not limited to use in the foregoing systems.

The prior art has utilized numerous approaches for synchronizing an internally generated signal with a signal from an external source. Generally, these systems have comprised a means for searching the incoming signal to determine its frequency. After this has been determined a control means is utilized to maintain the internally generated signal at the frequency of the incoming signal. Hence, these systems require the use of a dual apparatus, one to search the incoming signal to determine its frequency and a second to maintain the internally generated signal at the incoming signals frequency. These systems have the disadvantage that abrupt changes in incoming signal frequency will destroy their ability to internally generate the desired signal. Further, these systems are relatively complex, requiring numerous electronic systems and subsystems for their successful operation.

Another prior art approach has been to utilize an analog tracking system for detecting differences between the incoming signal and the internally generated signal and for varying the frequency of the internally generated signal to bring it into synchronism with the incoming signal. These systems have the disadvantage of utilizing an analog approach which is less precise than a digital approach to signal control.

Therefore, it is an object of this invention to provide a new and improved signal -correction device.

It is also an object of this invention to provide a new and improved apparatus for maintaining the frequency of an internally generated signal in synchronism with the frequency of an externally generated signal.

It is a still further object of this invention to provide a new and improved apparatus for detecting when an internally generated signal is out of synchronism with an externally generated signal and for generating a pulse signal representing said out of synchronism condition.

It is a still further object of this invention to provide a new and improved frequency correction device for detecting when an internally generated signal is out of synchronism with an externally generated signal; for generating pulses representing Whether the internally generated signal is greater or less than the externally generated signal; and for utilizing said pulses to control the internally generated signal to bring it into frequency synchronism with said externally generated signal.

Inherent in a devi-ce that can synchronize the frequency of an internally generated signal with the frequency of an external signal is the ability to sense the presence of the external signal. And, in some electronic environments it is desirable to be able to sense the presence or absence of a signal. For example, it is desirable to determine what line or lines of a plurality of lines possesses a signal.

Therefore, it is a still further object of this invention to provide a new and improved apparatus for sensing the presence or absence of a frequency varying signal.

In addition to the foregoing disadvantages, prior art systems have also suffered from the inability to detect the presence of and to synchronize with low level signals. That is, prior art devices have been unable to track signals that have voltage levels that are near the voltage level of noise.

Hence, it is also an object of this invention to provide a new and improved apparatus for sensing low level signals.

It is still another object of this invention to provide a new and improved apparatus for sensing low level signals and for synchronizing the frequency of an internally generated signal with the frequency of these low level signals.

In accordance with a principle of the invention an externally generated signal is sampled by a sampling system at a rate determined by the frequency of an internally generated signal to determine if the frequency of the internally generated signal is the same as the frequency of the externally generated signal. If the frequency of the internally generated signal is above the frequency of the externally generated signal the sampling system generates a puise at one output. If the frequency of the internally generated signal is below the frequency of the externally generated signal then the sampling system generates a pulse at a second output. Hence, a system is provided for sampling an externally generated signal and utilizing it to generate pulses at one of two outputs. The output having the pulse is determined by the frequency relationship between the input signal and the external signal. The outputs from the sampling system are applied to the means for generating the internal signal. The inputs to `the internal signal generating means from the sampling system are used to increase or decrease the frequency output of the internal signal generating means to bring it into synchronism with the frequency of the external signal.

In accordance with a still further principle of the invenion the sampling system is divided into two sections; a primary sample section and a secondary sample section. The primary sample section samples the external signal once every half-cycle of the internally generated signal. If the internal and external signals are both at the same frequency, the primary section does not indicate an out of frequency condition. If the two signals are out of frequency the primary section generates a pulse output signal. While the primary sample determines whether there is an out of frequency condition, it does not determine whether the frequency is above or below the inter nally generated signal. The secondary section generates this information. The secondary section samples the signal at periods in between the primary samples and generates a pulse output that designates whether the internally generated signal is above or below the external signal in frequency. The outputs from the primary and secondary sampling sections are coupled together to generate pulses on up or down lines. The-se output lines are preferably connected to the internal signal generation means to increase or decrease its output signal frequency.

It will be appreciated that the foregoing is a simple means for generating error pulses. These pulses indicate when an internally generated signal is out of frequency with an externally generated lsignal. Further, these pulses may be utilized to control an internal signal generating means to increase or decrease the frequency of its output signal in order to bring it into synchronism with the externally generated signal.

In accordance With a still further principle of the invention the pulses applied on the up and down lines are applied to a pair of counters and to the set and reset sides of a flip-flop. The outputs from the flip-flop are connected to the reset inputs of the counters and the outputs from the counters are connected to inhibit the passage of pulses on the up and down lines until the counters are full. In this manner a simple means is provided for distinguishing a low level signal from noise. That is, a number of up or down pulses must be accumulated in the counters prior to pulse passage on the up and down lines. This accumulation will only occur for a signal not for noise because noise will continuously set and reset the flip-flop to reset the counters.

The foregoing objects and many of the attendant advantages of this invention will become more readily appreciated as the same becomes better understood by reference to the following detailed description when taken in conjunction with the accompanying drawings wherein:

FIG. 1 is a block diagram of a preferred embodiment of the invention;

FIG. 2 is a timing diagram of the sampling pulses of the invention;

FIG. 3 is a timing diagram for the primary sampling section of the embodiment of the invention illustrated in FIG. 1 when the external signal is at the same frequency as the internal signal but 90 out of phase therewith;

FIG. 4 is a timing diagram of the primary sampling section for the embodiment of the invention illustrated in FIG. l when the external signal is at the frequency of the internal signal but shifted in phase 180;

FIG. 5 is a timing diagram of the primary and secondary sampling sections of the invention as illustrated in FIG. 1 when the frequency of the external signal is above the frequency of internal signal;

FIG. 6 is a timing diagram of the primary and secondary sampling sections of the invention when the frequency of the external signal is below the frequency of the internal signal;

FIG. 7 is a block diagram of a system for preventing noise from introducing errors into the embodiment illustrated in FIG. 1; and

FIG. 8 is a block diagram of a system for use with the l embodiment illustrated in FIG. 1 to provide a switching pulse if a signal is not present at the input.

FIG. l is a block diagram illustrating one embodiment of the invention and comprises a voltage controlled oscillator 11, a timing section generally indicated at 13 within dashed lines at the upper left portion of the figure, a primary sampling section generally indicated at 1S within dashed lines to section 135 right, and a secondary sampling section generally indicated at 17 Within dashed lines at the igures lower portion.

The timing sampling section comprises a first binary counter stage 21, a secondary binary counter stage 23, a first two input AND gate 25, a second two input AND gate 27, a rst differentiator 29, a second differentiator 31, a third differentiator 33, and a first inverter 35. For ease of understanding the first and second binary counter stages are illustrated as B-l and B-2, respectively; the first and second AND gates are illustrated as A-l and A-Z, respectively; the first, second, and third differentiators are illustrated as D-l, D-Z, and D-3, respectively; and the first inverter is illustrated as I-l. B-1 has only a true output whereas B-Z has both a true and a complementary output. The true outputs are designated as X and the complementary output is designated as X. Further, B-l and B-2 count down their input signals so that these outputs are at 1/2 the frequency of their input-s. Moreover, the dilferentiators only generate pulses for a rise in their input voltages not for a drop.

The VCO is adapted to generate signals at four times a particular desired frequency. This frequency quadrupling is necessary to provide timing pulses for operation of the primary and secondary sampling sections. The output from the VCO is connected to the input of B*1 which is a conventional binary network. The true output from B-1 is connected to one input of A-l, one input of A-Z, the input of I-l, the input of D-3, and the input of B-Z. The true output of B-Z is connected to the second input Of A-l and to the input of D-Z. The complementary output of B-Z is connected to an output terminal 67, to the second input of A-Z and to the input of D-ll.

FIG. 2 is a timing diagram of the timing section 13; the diagram is broken into a series of four periodic intervals as viewed from left to right. These intervals are designated 0, l, 2, and 3. The first line of FIG. 2 represents the output of the VCO and is a series of binary signals. A complete signal exists in each of the four intervals. The second line is designated as B-i (X) and represents the true output of B-l. This second line is also a binary signal, however, it is at one-half the frequency of the output from the VCO. Specifically, the line B-1(X) signal is at Zero during the 0 and 2 intervals and is at a voltage condition during the 1 and 3 intervals.

The output from I-lt is the inversion of the output from B-1. Hence, the output from I-l is at zero during the 1 and 3 intervals and is at a voltage condition during the 0 and 2 intervals.

The true output from B-Z is illustrated as B-2(x) in FIG. 2 and the complementary output from B-Z is illustrated as B-2(x). Both of the B-2 outputs are one-half the frequency of the inputs to B-2 or at one-quarter of the frequency of the input to Bel. Hence, the outputs from B-2 are at the same frequency as the input signal when the output of the VCO is four times the frequency of the input signal.

The true voutput of B-Z or line B-2(x) is at Zero during the 0 and 1 intervals and is at a voltage condition during the 2 and 3 intervals. The complementary output of B-Z or line B-Etx) is at zero during the 2 and 3 intervals and is at a voltage condition during the 0 and 1 intervals. The outputs from B-ll and B-2 provide the timing signals for the system when they are combined, differentiated or inverted as herein described.

The output from D-2 is the differential of the rise part of the B 2(x) signal and is a pulse that occurs at the beginning of each 2 interval; the output from A 1 is the combination of B-1(x) and B Zc) and is a binary signal that occupies the 3 interval; the output from A Z is the combination of B-1(x) and B-2(x) and is a binary signal that occupies the 1 interval; and the output from D-3 is a series of pulses that occur at the beginning of each 1 and each 3 interval. These outputs are represented on the appropriately titled lines in FIG. 2. Further, the outputs from A-1, A-Z, D 1, and D Z are connected to the primary sampling section and the outputs from I 1 and D-3 are connected to the secondary sampling section 17 as hereinafter described.

The primary sampling section 15 comp-rises a third two input AND gate 37, a fourth two input AND gate 39, a second inverter 41, a tirst flip-liep 43, a second flip-flop 45, and a lirst exclusive OR gate 47. The third and fourth AND gates are designated as A 3 and A 4, respectively; the second inverter is designated as 1 2; the first and second ip-ops are designated as FF-1 and FF 2, respectively; and the tirst exclusive OR gate is designated as EOR 1 in FIG. 1. Only the true (X) outputs of FF-l and FF-Z are used.

The output from D 1 of the timing section is connected to one input of A 3; similarly, the output from D-2 is connected to one input of A 4. The input 65 to the systern from the external signal source is connected through a clipper 49 to the second input of A S and to the input of 1 2. The output from 1 2 is connected to the second input of A 4. The output from A 3 is connected to the set input of FP I and the output from A-1 of the timing section is connected to the reset input of FF-l. Similarly, the output from A 4 is connected to the set input of FF-Z and the output of A Z of the timing section is connected to the reset input of FF-Z. The true outputs of FF-l and FP Z are connected to the inputs of EOR-l.

The secondary sampling section comprises a tifth two input AND gate 51, a sixth two input AND gate 53, a seventh AND gate 55, an eighth AND gate 57, a third inverter 59, a third iiip-op 61, and a second exclusive OR gate 63. The seventh and eighth AND gates are three input AND gates. The fifth, sixth, seventh, and eighth AND gates are designated as A 5, A 6, A 7, and A S, respectively; the third inverter is designated as 1 3; the third Hip-flop is designated as FF-S; and the second exclusive OR gate is designated as EOR 2 in FIG. 1. Only the true (x) output of FF-3 is used.

The signal from the clipper 49 and the output from D 3 of the timing section are connected to the two inputs of A S; the output from I Z of the primary sampling section and the output from D 3 of the timing section are connected to the two inputs of A 6. The output from A S is connected to the set input of FF-3; and the output from A 6 is connected to the reset input of F13-3. The true output from FF--3 is connected to one input of ECR-2 and the output from FF 1 is connected to the second input of ECR-2. The outputs from EOR 1, BOR- 2, and 1 1 are connected to the three inputs of A-7. The output from EOR-Z is also connected to the input of I 3. The output from I-3, BOR-1, and I 1 are connected to the three inputs of A S. The outputs from A-7 and A S are the increase and decrease frequency pulse outputs and are connected to the voltage controlled oscillator 11.

Generally, the system operates so that the primary sample section samples the signal passed by the clipper once every half-cycle of the output signal as indicated at the output terminal 67. In between these samplings the secondary sample section samples the signal pass-ed by the clipper. This can be seen from lines D 1, D Z, and D 3 of FIG. 2. Lines D 1 and D 2 represent the outputs from the diterentiators of the timing Section connected to the primary sampling section 15. These outputs occur alternately, one output occurring during each four interval cycle of the systems operation. Hence, the combined outputs of D 1 and D-2 create signals that occur once each half-cycle. D-3 provides sampling signals that occur in between the D 1, D Z signals; hence, D 3 controls the secondary sampling so that a secondary sample is taken between each primary sample.

In accordance with the theory of operation of the system, the primary samples are taken during the 0` and 2 intervals. Because the second primary sample is taken of an inverted external signal, the outputs from FF 1 and FF-2 are the same during the sampling intervals if the frequency of the signal at the input 65 is the same as the frequency of the output signal at the output terminal 67. Specically, they `could be at either a voltage condition or at a zero condition but in either case they are the same. Because they are the same there is no output from EOR-l during the O and 2 intervals. However, if the frequency of the input signal and the output signal are different then the outputs from FF-l and FF-Z are different during some of the 0 and 2 intervals. Specifically, one is at a zero condition and the other is at a voltage condition. When these differences occur there is an output from EOR-l. It should be noted that the primary sampling section does not determine whether the frequency of the input signal is above or below the frequency of the output signal, it only determines that there is a dilference. The secondary sampling section determines whether the input signal is above or below the output signal.

The secondary sampling occurs during the 1 and 3 intervals. It is compared with the output of FF-l to determine if the frequency of the incoming signal is above or below the frequency of the output signal. Specifically, the secondary sample pulses control a pair of AND gates connected separately to the incoming .signal and an inverted incoming signal. The outputs of the AND gates are separately connected to the set and reset sides of a third flipop during the sampling intervals. The output of the third flip-flop is compared with the output of the rst iiip-tlop in EOR-Z. The output from yEOR 2 during the 0 and 2 intervals indicates whether the frequency of the incoming signal is above or below the frequency of the output signal.

To more fully understand the operation of the invention the following discussion of various frequency relationships between the incoming signal and the output signal is presented. FIGS. 3, 4, 5, and 6 are timing diagrams for the appropriate portions of the primary and secondary sampling sections.

FIG. 3 is a timing diagram illustrating that there is no output from the primary sampling section when the input signal is at the same frequency as the signal from the output but out of phase therewith. Specifically, this input signal is represented as the input line; it is at the same .frequency as the output. That is, it goes through a complete cycle in exactly four intervals. There is no output from A 3 because at no time does the primary sampling signal from D 1 coincide with the input signal. That is, the sampling signal D 1 occurs at the beginning of the 0 interval; however, the input signal is only positive during the l and 2 intervals. Hence, there is no output from A and FF 1 is never set. Moreover, there is no output from A d because there is no coincidence between its inputs from D 2 and I l. The D Z timing pulse occurs at the beginning of the 2 interval whereas the I 1 output occurs during the 0 and 3 intervals (i.e., it is the inversion of the input signal). Hence, FF 2 is never set. Therefore, there is no time interval during which there are opposite signals from FP 1 and FP Z.

Because there is no time interval during which the outputs from FF 1 and FF-Z are diierent there is never an output from EDR-1. EOR-l is connected to the three input AND gates, hence, BOR-1 prevents any output from passing through those gates. Moreover, even if the secondary sampling section generates an output, BOR-1 prevents their being applied to the VCO. It will be appreciated that under this condition of frequency synchronism the VCO does not receive pulses telling to change frequency.

FIG. 4 is a timing diagram representing the condition wherein the input signal is at the sarne frequency as the output signal but 180 out of phase therewith.

The input signal illustrated in FIG. 4 is at a voltage condition during the and l intervals and at zero during the 2 and 3 intervals; therefore, there is a voltage coincidence between the D I sampling pulse (FIG. 2) and the input signal. This coincidence occurs at the beginning of each 0 interval and provides an output pulse from A S at that interval. The output from I 2 is the inversion of the input signal and is at a voltage condition during the 2 and 3 intervals and at zero during the 0 and 1 intervals. Hence, there is also voltage coincidence between the timing pulses from D 2 and the signal from I Z. This coincidence provides an output pulse from A --i at the beginning of each 2 interval. The pulses from A 3 and A-4 set FF-l and FF-Z, respectively. The output from FF-1 is on for the 0, 1, and 2 intervals and is triggered off during the 3 interval by the output from A l. The output from FF Z is on during the 2, 3, and G intervals and is triggered off during the 1 interval by A Z. The outputs from FF-l and FF-Z are applied to EGR-I.

Because BOR-1 only generates an output when there is a difference between its input signals, it generates a zero signal during the 0 and 2 intervals and a voltage signal during the 1 and 3 intervals. This is represented as line FOR-1 in FIG. 4. Noting from FIG. 2 that because the output from I I is zero during the 0 and 2 intervals; and that because the outputs from I i and EOR 1 are connected to the inputs of A 7 and ift-8; it is apparent that A 7 and A S never have outputs. Specifically, there is a zero signal applied to A 7 and A S during all of the four intervals. Hence, regardless of the output of FOR-Z, A 7 and A S do not have outputs. Therefore, even though there is a 180 phase shift between the frequency of the input signal and the frequency of the output signal they are at the same frequency and because they are at the same frequency there are no pulses applied by A 7 and A S to the VCO to change its output frequency.

It will be appreciated from the foregoing that when there is frequency synchronisrn between the input signal and the output signal there will be no outputs from A 7 or A S to cause a frequency change in the output from the VCO. This conclusion is true even if there is a phase difference between the two signals. However, as hereinafter described with respect to FIGS. 5 and 6 when there is a frequency difference between the input signal and the output signal a pulse is applied by either A 7 or A S (depending upon whether the frequency is above or below the output signal) to change the frequency of the signal output from the VCO.

FIG. 5 represents the condition wherein the frequency is greater than the frequency of the output signal. By way of example, the period of the input signal illustrated in FIG. 5 is three-fourths of the period of the output signal. Coincidence occurs between the output from D l and the input signal during certain intervals best represented by line A-3 of FIG. 5. Further, the output from I 2 and the sampling pulses from D Z provide coincidence during certain periods as represented by line A 4 of FIG. 5. A 3 triggers FF 1 to give an output signal represented by line FF I and A i triggers FF 2 to give an output signal represented by line FF 2. These signals are combined in EOR-l and generate an Output signal represented by line BORA. It will be appreciated from the discussion of FIG. 4 that an output from EOR I only passes through A 7 or A if a signal exists during the time the output from 1 2 exists (intervals 0 and 2).

input signal In addition, there must be an output from either EOR 2 or I-3 before A 7 or A pass output pulses. Viewing 8 line BOR-1 of FIG. 5 it will be appreciated that at various times signals exist from EGR-1. during the 0 and 2 intervals.

Because outputs from BOR-1 exist during the G and 2 intervals they indicate that there is a frequency dierence, hence, it is necessary to analyze the secondary sampling section to determine if it generates an output signal to pass through either gate A 7 or gate A S. A S combines pulses from D 3 and the input signal to generate the signal illustrated as line A S of FIG. 5. A 6- combines pulses from D-3 and 1 2 to generate the output signal illustratcd as line A 6 of FIG. 5. The output from A 5 sets FF-S and the output from A 6 resets FF-i` to cause the output signal from FF-3 illustrated as line FF-3 of FIG. 5. This output is compared with the output from F-I in FOR-2 to generate the line BOR-2. signal. The outputs from BOR-2, EGR-i and I I are compared in A 7 to generate a series of pulses as represented by line A 7 of FiG. 5. These pulses are applied to the VCO. In addition, FIG. 5 illustrates that the output from 1 3 applied to A S is never coincident with the output signals from I ll and BOR-1 also applied to A 8. Hence, A S never generates an output signal. In conclusion, the pulse output from A 7 tells the VCO that the output frequency is below that of the frequency of the input signal. Hence, the frequency of the output from the VCO can be increased by any suitable electronic means such as integrating the pulses from A 7, for example. It will continue to be increased until the desired frequency coincident condition occurs. At this condition the output signal will be at the same frequency as the incoming signal and no further pulses will be passed by A 7. This is the condition illustrated with respect to FIGS. 2, 3, and 4 and discussed above.

FIG. 6 is a timing chart for the condition where the frequency of the input signal is below the frequency of the output signal. For ease of illustration the period of the input signal illustrated in FIG. 6 is equal to 11/2 periods of the output signal. The comparison in A 3 between the input signal and the timing signal from D l causes a signal of the type illustrated on line A-S. Similarly, a comparison in A 4 of the output from I-Z and the timing pulses from D 2 causes a signal of the type illustrated on line A-4 of FIG. 6. As discussed above these signals set FF-I and FF-Z which are reset by A-1 and A Z, respectively. The outputs from the flip-ops are illustrated on lines FF-li and FF-Z of FIG. 6. These output signals are compared in BOR-I to cause an output signal from EOR 1 of the type illustrated on line ECR-1 of FIG. 6. It is to be noted that an output from EOR-l occurs during some of the 0 and 2 intervals. Hence, it applies a signal to A 7 and A S during the 0 and 2 intervals to indicate that there is an out of frequency condition occurring.

The output from A S is a combination of the D 3 signal and the input signal and is illustrated on line A S. The output from A 6 is a combination of the D 3 and the I Z signals as is illustrated on line A 6 of FIG. 6. These gates set and reset FF 3 to generate an output illustrated by line FF-3 of FIG. 6. The output from FF-3 is combined with the output from FF-l in BOR-Z to generate the output signal EOR Z of FIG. 6. The output from FOR-2 is inverted in 1 3. When the outputs from FOR-2, EGR-1, and I l are AND gated in A 7 no output signal occurs. However, when the output from T S is AND gated with the I l and BOR-I outputs in gate A an output signal of the type represented by line A S occurs. This output signal is applied to the VCO to tell it to decrease the output frequency so that it will coincide with the input frequency.

rherefore, the output from A 7 tells the VCO to increase its frequency to cause synchronism, and the output from A S tells the VCO to decrease its frequency to cause synchronism. In this manner the VCO is informed when the output signal is out of frequency with the input signal and whether the output signal frequency is above or below the frequency of the input signal.

It will be appreciated that the foregoing has described a simple system for detecting when an internally generated signal (that generated by the VCO and counted down by B-l and B-Z) is out of frequency coincidence with an external signal (the input signal) and for providing pulses which can be utilized by the internal signal generating means to cause it to increase or decrease its output frequency as desired.

While the embodiment of the invention illustrated in FIG. l operates satisfactorily for a clear input signal, it will not operate as satisfactorily as desirable if the input signal is low level and mixed with noise. Specifically, the noise causes alternate outputs from A-7 and A-; these outputs are false outputs and cause the system to hunt thereby preventing the correct operation of the system. FIG. 7 illustrates, in block diagram form, an apparatus for preventing noise from inhibiting the correct operation of the invention.

FIG. 7 comprises a fourth dip-flop 71, a fourth differentiator 73, a fifth differentiator 75, a rst two input OR gate 77, a ninth two input AND gate 79, a tenth two input AND gate 81, an eleventh two input AND gate 83, a twelfth two input AND gate 85, a fourth inverter 87, a fifth inverter 89, a first counter 91 and a second counter 93. The fourth flip-flop is illustrated as FF-4; the fourth and fifth differentiators are illustrated as D-4 and D-S, respectively; the first OR gate is illustrated as OR-l; the ninth, tenth, eleventh and twelfth AND gates are illustrated as A-9, A-10, A-11, and A-12, respectively; the fourth and fifth inverters are illustrated as I-4 and I-5, respectively; and the first and second counters are illustrated as C-1 and C-2, respectively.

The system illustrated in FIG. 7 is adapted to be connected between the outputs of A-7 and A-8 and the VCO. The set input of F13-4, one input of A-10, and one input of A-11 are connected to the output of A-7. The reset input of F13-4, one input of A-9, and one input of A-ltl are connected to the output of A-S. The true (X) output of FF-4 is connected to the input of D-4 and the false' output of F13-4 is connected to the input of D-S. The outputs of D-4 and D-S are connected to the dual inputs of OR-l.

The output of A-9 is connected to the signal input of C-l. Similarly, the output of A-10 is connected to the signal input of C-2. The output f OR-l is connected to theY reset inputs of C-l and C-2. The output of C-l is connected to the second input of A-12 and thro-ugh I-4 to the second input of A-9. The output of C-2 is connected to the second input of A-11 and through 1 5 to the second input of A-10. The outputs of A-l and A-12 are adapted for connection to the VCO as substitutes for A-7 and A-S, respectively.

The apparatus illustrated in FIG. 7 is designed to accumulate the pulses from A-7 and A- to determine if a signal is being received at the input terminal 65 or if only noise is being received at the input terminal. Specifically, assuming the counters C-l and C-Z are eight stage counters, eight input pulses from A-7 or A-S without a pulse from the other gate must occur before an output from A-11 or A-12 occurs. More specifically, if A-7 is passing pulses, its first pulse sets FF-4 and resets C-l and C-2 by the X output of FF-4 passing through D-4 and OR-l. This first pulse will not pass through A-ll because A-11 does not have a second input, ie., it is inhibited. The second input pulse maintains 1.FF-4 set an-d passes into the first stage of C-2. The second pulse does not pass through A-ll because the second input (which is the last stage output of C-Z) still inhibits A-11. It should be noted that A- is not inhibited by the output of C-2, because I-S inverts the C-Z output applied to it, i.e. it gates A-10 on.

Eight pulses from A-7 are accumulated in C-2 before a pulse passes through A-11 because at that point the output from C-2 gates A-11 on The output from C-2 at this point also inhibits A-10 to prevent any more pulses from being applied to C-2. Thereafter any more pulses from A-7 are passed through A-11 and applied to the VCO in the manner hereinbefore described. Similarly, if A-S is passing pulses they operate to fill C-l.

However, if during the reception of the eight A-7 pulses one A-S pulse had been received no A-7 pulses would have passed through A-11. That is, an A-8 pulse resets 12F-4. Resetting FF-4 generates an output pulse that passes through D-5 and OR-l to the reset inputs of C-1 and C-Z. Hence, one A- pulse resets C-2 and, before A-7 pulses can pass through A-11, eight more A-7 pulses must arrive t-o fill C-2. In this manner the system illustrated in FIG. 7 determines Whether there is an actual signal at input 65 or whether its input is just noise. That is, because noise is random FF-4 would be constantly receiving pulses from A-7 and A-8. These pulses would set and reset FF-4 to provide reset pulses to C-1 and C-Z and prevent them from accumulating eight pulses.

It should be noted that an eight stage C-l and C-2 counter is only by way of example and that any number of stages could be used. It is only necessary that the number of stages be sufficient to prevent noise from causing the generation of erroneous pulses.

In some situations it is desirable to use the invention to determine which line of a plurality of lines contains a signal. FIG. 8 illustrates additional elements that, when added to FIGS. l and 7, accomplish this result. Specifically the FIG. 8 system provides an automatic switching pulse when a signal is not on the line connected to the input terminal 65 yof FIG. l.

The system illustrated in FIG. 8 comprises seven binary stages 101, 103, 195, 197, 109, and 111, and a differentiator 115. The seven stages are illustrated as S-l, S-2, S-3, S4, S-S, S-6, and S-7, respectively, and the differentiator is illustrated as D-6. The input to S-1 is adapted to be connected to the output of OR-l of FIG. 7. S-1, S-Z, S-3, and S-4 are connected in series and the output of S-4 is connected to an output terminal 117. S-S, S-6, and S-7 are also connected in series. The input to S-S is adapted for connection to the X output of B-Z of FIG. 1. The output of S-7 is connected through D-6 to the reset inputs of S-l, S-Z, and S-S.

The system illustrated in FIG. 8 is designed to provide a race between the pulse outputs of OR-1 and B-Z. If the pulses from OR-l reach the out-put terminal 117 before the pulses from B-Z reach D-6 and the reset terminals of S-ll, S-Z, and S-3 then noise is on the input* not a signal. Vice versa indicates a signal. Specifically, random noise will cause FF-4 to fiip back and forth in a rapid manner, much more rapidly than the rate of pulses from B-2, hence these pulses will reach the output terminal prior to S-1, S-2, and S-3 being reset by pulses from B-Z. However, if a signal is at the input terminal 65 then FF-4 will either never switch its output or it will only do so over a long period of time. In this case the B-2 pulses will reset S-1, S-Z, and S-3 before a pulse reaches terminal 117.

Pulses at terminal 117 can be coupled to an automatic switching means (not shown) to switch the input from one line to another to determine which line carries a signal. Obviously, means must be provided to reset S-l through S-7 every time line switching occurs; this may be done in any convenient, well known manner.

While the hereinabove described invention has found large use in the tracking of incoming data signals it will be appreciated that it has use in other environments. For example, a system for determining whether an internally generated signal is at the frequency of an externally generated signal can be utilized in a device for determining the frequency of an externally generated signal by coupling the systems to adequate meters or frequency indicating devices. Further, as described with respect to FIG. 8

a system of this nature can be sequentially connected to a plurality of signal lines to determine whether a signal exists or does not exist on any individual line. Then, the system can be used to determine the frequency of the signal. Hence, the invention can be practiced otherwise than as specically described herein.

What is claimed is: 1. Apparatus of the type described comprising: timing means connected to the output of a signal generating device for generating primary and secondary sets of timing signals; primary sampling means connected to `said timing means to receive the primary timing signals from said timing means for sampling external signals at predetermined intervals to determine if an external signal is out of synchronism with said signal from said signal generating device; and secondary sampling means connected to said timing means to receive the secondary timing signals from said timing means for sampling said external signal at predetermined intervals to determine whether said external signal is above or below the frequency of the signal generated by said signal generating device. 2. Apparatus as claimed in claim 1 wherein said timing means includes:

binary counting means connected to the output of said signal generating device for counting down the output frequency from said signal generating device to generate signals at one-half and one-fourth the frequency of the output of said signal generating device. 3. Apparatus as claimed in 2 wherein said binary counting means includes first and second countdown binary counters and wherein said timing means also includes:

first and second two input AND gates; first, second, and third differentiator circuits; a first inverter; the output of said signal generating device connected to the input of said first binary counter; the true output of said first binary counter connected to the input of said second binary counter, one input of said first AND gate, one input of said second AND gate, the input of said third differentiator, and the input of said rst inverter; the true output of said second binary counter connected to the second input of said first AND gate and the input of said second differentiator; and the complementary output of said second binary connected to the second input of said second AND gate and to the input of said rst differentiator. 4. Apparatus as claimed in claim 3 wherein said primary sampling means comprises:

third and fourth two input AND gates; a second inverter; first and second ilip-ops; first two input exclusive OR gate; the input to said second inverter and one input of said third AND gate adapted to receive said external signal; the output from said first diferentiator connected to the second input of said third AND gate; the output from said second inverter connected to one input of said fourth AND gate; the output from said second dilerentiator connected to the second input of said fourth AND gate; the output from said third AND gate connected to the set input of said first Hip-flop and the output from said fourth AND gate connected to the set input of said second flip-dop; the output from said first AND gate connected to the reset input of said first flip-flop and the output from said second AND gate connected to the reset input of said second flip-flop; and the outputs from said first and second flip-Hops connected to the two inputs of said first exclusive OR gate.

5. Apparatus as claimed in claim 4 wherein said secondary sampling means comprises:

fifth and sixth two input AND gates and seventh and eighth three input AND gates;

a third inverter;

a second two input exclusive OR gate;

the output from said third ditferentiator connected to one input of said fth and sixth AND gates;

the second input to said fifth AND gate adapted to receive said external signal and the second input to said sixth AND gate connected to the output of said second inverter;

the output from said fifth AND gate connected to the set input of said third ip-op and the output from said sixth AND gate connected to the reset input of said third flip-flop;

the output from said third flip-dop and the output from said rst ip-op connected to the two inputs of said second exclusive OR gate;

the output from said first exclusive OR gate connected to one input of each of the seventh and eighth AND gates;

the output from said second exclusive OR gate connected to one input of the seventh AND gate and to the input o-f the third inverter;

the output from said third inverter connected to the second input of the eighth AND gate;

the output from said first inventer connected to the third input of said seventh and eighth AND gates; and

the outputs from said seventh and eighth AND gates adapted for connection to said Signal generating device.

`6. Apparatus as claimed in claim 5 including:

an input terminal;

a clipper circuit; and

said clipper connected between said input terminal and said third AND gate, said fifth AND gate, and said second inverter.

7. Apparatus as claimed in claim 6 including a voltage controlled oscillator as said signal generating device.

trol means includes:

pulse accumula-ting means for applying control signals to said signal generating device. iti. Apparatus as claimed in claim 9 and wherein said pulse accumulting means includes:

counting means and inhibit means operable to apply control signals to said signal generating means only in response to the accumulation of a predetermined number of successive pulses.

l1. Apparatus as claimed in claim 10 and further includfing:

selections means responsive to said secondary sampling means operable to select an external signal having a periodic component.

12. Apparatus as claimed in claim 11 wherein said selection means includes:

fourth and fth differentiators;

a first two input OR gate;

ninth, tenth, eleventh, and twelfth two input AND gates;

fourth and fifth inverters;

rst and second counters;

the output of said seventh AND gate connected to the set input of said fourth ip-diop to one input of said tenth AND gate, and to one input of said eleventh AND gate;

the output of said eighth AND gate connected to the reset input of said fourth Hip-flop, to one input of the ninth AND gate, and to one input of the twelfth AND gate;

the true output of said fourth flipflop connected through said fourth differentiator to one input of said first OR gate and the complementary output of `said fourth flip-Hop connected through said fifth dif- -ferentiator to the second input of said first OR gate;

the output of said first OR gate conneted to the reset inputs of said first and second counters;

the output of said first counter connected to the second 'input of said twelfth AND gate and through said fourth inverter to the second input of said ninth AND gate;

the ou-tput of said second counter connected to the second input of said eleventh AND gate and through said fifth inverter to the second input of said tenth AND gate;

the output of said ninth AND gate connected to the input of said first counter; and

the output of said tenth AND gate connected to the input of said second counter.

13. Apparatus as claimed in claim 12 including:

seven binary counter stages;

a sixth differentiator;

an output terminal;

said first, second, third and fourth binary counter stages connected in series between the output of `said .first -OR gate and said output terminal;

said fifth, sixth and seventh binary counter stages connected in series between the output true output of said first countdown binary counter and the input of said sixth diferentiator; and

the output of said sixth diiferentiator connected to the reset input of said first, second, and third binary counter stages.

No references cited.

20 JOHN KOMINSKI, Primary Examiner.

ROY LAKE, Examiner. 

